From: Jim Blandy Date: Sun, 21 Mar 1993 07:24:32 +0000 (+0000) Subject: * xfns.c (Fx_open_connection): If we have X11R5, use X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~96760 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=6bde6341fef891cab2064ece867e79df1533526d;p=emacs.git * xfns.c (Fx_open_connection): If we have X11R5, use XrmSetDatabase to set the display's database. In older versions, just store the value into x_current_display->db. * xterm.h (HAVE_X11R5): Define this where appropriate. --- diff --git a/src/xterm.h b/src/xterm.h index 54a495d7bb0..05bae039844 100644 --- a/src/xterm.h +++ b/src/xterm.h @@ -67,6 +67,12 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define HAVE_X11R4 #endif +#ifdef XlibSpecificationRelease +#if XlibSpecificationRelease >= 5 +#define HAVE_X11R5 +#endif +#endif + #define PIX_TYPE unsigned long #define XDISPLAY x_current_display, #define XFlushQueue() XFlush(x_current_display)